package be.hikage.sfeir;

import be.hikage.sfeir.annotation.Growl;

import javax.decorator.Decorator;
import javax.decorator.Delegate;
import javax.inject.Inject;

/**
 * @author Gildas Cuisinier (hikage@hikage.be)
 *         User: hikage
 *         Date: 23/03/11
 */

@Decorator
public class NotifierDecoration implements  Notifier{

    @Delegate @Inject @Growl
    Notifier target;


    @Override
    public void notify(String message) {

        target.notify("DECORATED :" + message);

    }
}
